/**
 * 
 */
package com.xb.demo8.abstract1.factory;

/**
 * @author kexue
 *
 */
public  abstract class Tag {

	protected String caption;
	

	public Tag (String caption) {
		this.setCaption(caption);
	}
	
	public abstract String  mkHtml();

	
	
	/**
	 * @return the caption
	 */
	public String getCaption() {
		return caption;
	}

	/**
	 * @param caption the caption to set
	 */
	public void setCaption(String caption) {
		this.caption = caption;
	}
	
}
